#ifndef MYSerial_H
#define MYSerial_H
#include <QSerialPort>
class MySerial: public QObject
{
    Q_OBJECT
public:
    MySerial();
    ~MySerial();
    QSerialPort * pmyport;
    double read();
    bool isOpen;
    void parse(QByteArray s);
    bool begin;
    QStringList str_list;
    QString last;
public slots:
    void onReady();    
};

#endif // MYSerial_H
